package com.songjia.stream.model;

import java.io.Serializable;
import java.util.Date;

public class Order implements Serializable {

	private static final long serialVersionUID = -7228441753123857843L;

	private String orderNumber;

	private Double amount;

	private Date createTime;

	private String userName;

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		return "Order [orderNumber=" + orderNumber + ", amount=" + amount + ", createTime=" + createTime + ", userName=" + userName + "]";
	}

	public Order(String orderNumber, Double amount, Date createTime, String userName) {
		super();
		this.orderNumber = orderNumber;
		this.amount = amount;
		this.createTime = createTime;
		this.userName = userName;
	}

	public Order() {
		super();
	}

}
